<template>
  <div class="currentTitle">
    <div class="currentTitleLeft">当前区城</div>
    <el-divider direction="vertical"></el-divider>

    <div class="currentTitleCenter">{{address}}</div> 
    <div class="currentTitleRight">附近{{distance}}km以內楼宇</div>
  </div>
</template>

<script>
export default {
  props:{
    address:{
      type:String,
      default:'广东省广州市黄埔区'
    },
    distance:{
      type:Number,
      default:0.5
    } 
  }, 
  data() {
    return {};
  },
  mounted() {},
  methods: {},
};
</script>

<style scoped lang="scss">
.currentTitle {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 50px;
  line-height: 50px;
  .currentTitleLeft {
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: bold;
  font-size: 14px;
  color: #222222;
  padding-left: 20px;
  margin-right: 10px;
}
.currentTitleCenter {
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: 400;
  font-size: 14px;
  color: #222222;
  margin-left: 10px;

}
.currentTitleRight {
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: 400;
  font-size: 14px;
  color: #ff596a;
  padding-left: 20px;
}
}
 
</style>
